package com.demo.inheritance.animals;

public class Dog extends Animal {

	public Dog() {		
		super(4, true);		
	}
	
	@Override
	public void speak() {
		System.out.println("I bark");
	}
	
	public void someDummy(){
		System.out.println("I am a dummy method");
	}
	
	

}
